
<form class="layui-form layui-form-pane edit-form">

    <!-- <div class="layui-form-item">
        <label class="layui-form-label">
            城市
        </label>
        <div class="layui-input-block">
            <select name="city" lay-verify="required" lay-search>
                <option value="">请选择城市</option>
                {volist name="area" id="vo"}
                <option value="{$vo['id']}" {if $data['city'] == $vo['id']} selected {/if}>{$vo['name']}</option>
                {/volist}
        
       
            </select>
        </div> -->
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            广告位
        </label>
        <div class="layui-input-block">
            <select name="foreign_key" lay-verify="required" lay-search>
                <option value="">请选择广告位</option>
                {volist name="ad_position" id="vo"}
                <option value="{$vo['id']}" {if $data['foreign_key'] == $vo['id']} selected {/if}>{$vo['position']}</option>
                {/volist}
        
       
            </select>
           
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            价格
        </label>
        <div class="layui-input-inline">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="price" type="text" value="{$data['price']}"/>
        </div>
        <div class="layui-form-mid layui-word-aux">元/次</div>
    </div>
  
    
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
